package com.upcode.weighing.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.upcode.weighing.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author ZhuPengTao
 * @date 2021年05月21日 12:18
 * @description
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class SysDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long id;//用户ID
    private String loginName;//登录名
    private String pwd;//密码
    private String name;//姓名
    private String telephone;//手机号码
    private String card;//身份证号码
    private Integer status;//状态
    @JsonFormat(shape =JsonFormat.Shape.STRING )
    private Long roleId;//角色id
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String orgName;
}
